import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/hazard_obligation_history_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/hazard_obligation_history_entity.g.dart';

@JsonSerializable()
class HazardObligationHistoryEntity {

	HazardObligationHistoryEntity();

	factory HazardObligationHistoryEntity.fromJson(Map<String, dynamic> json) => $HazardObligationHistoryEntityFromJson(json);
	int? checkCycle = 0;
	String? checkCycleUnit = '';
	int? checkStatus = 0;
	String? checkTaskId = '';
	String? checkTime = '';
	String? checkUserId = '';
	String? companyCode = '';
	String? createBy = '';
	String? createByDep = '';
	String? createById = '';
	String? createByMobile = '';
	String? createDate = '';
	String? dangerInvestigationId = '';
	String? hazardCode = '';
	String? id = '';
	String? mobileMe = '';
	String? riskEventId = '';
	String? riskEventName = '';
	String? riskMeasureDesc = '';
	String? riskMeasureId = '';
	String? riskObjectId = '';
	String? riskObjectName = '';
	String? riskUnitId = '';
	String? riskUnitName = '';
	String? taskNum = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';
	String? workEndTime = '';
	String? workStartTime = '';
	String? workType = '';

	Map<String, dynamic> toJson() => $HazardObligationHistoryEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
